﻿using Microsoft.AspNetCore.Mvc.Controllers;
using System.Reflection;
namespace LJ.WebApi.Mvc.Internal;


public class WebApiControllerFeatureProvider(IWebApiHandlerManager webApiHandlerManager) : ControllerFeatureProvider
{
    private readonly IWebApiHandlerManager _webApiHandlerManager = webApiHandlerManager;

    protected override bool IsController(TypeInfo typeInfo)
    {
        return _webApiHandlerManager.IsApiController(typeInfo);
    }
}